package com.dony.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dony.order.domain.Order;
import com.dony.order.domain.vo.OrderPackVo;
import com.github.yulichang.base.MPJBaseService;

import java.util.List;

/**
 * 订单打包Service接口
 *
 * @author dony
 * @date 2023-09-07
 */
public interface IOrderPackService extends MPJBaseService<Order> {

    /**
     * 通过参数查询打包的列表
     * @return
     */
    List<Order> listByParam(OrderPackVo order);

    /**
     * 处理订单集合数据
     * @param orders
     * @return
     */
    List<OrderPackVo> handleOrderList(List<Order> orders);

    /**
     * 打印面单
     * @param orderSns
     * @return
     */
    String printOrder(String[] orderSns);


    List<Order> getInCancelOrder();
}
